WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Plugin D

Total Complexity 136
Dependencies 9
Dependents 7
Total lines 1,203
Lines of code 415
Logical lines of code 209
Comment lines 504
Methods 52
Properties 11

Methods 52

Method Rating Maintainability Complexity Lines of code
add_ssl_admin_notices()
A
48 12 30
add_integration_requires_tokenization_notices()
A
49 11 31
add_currency_admin_notices()
A
47 8 36
add_debug_setting_notices()
S
56 7 16
adjust_available_gateways()
S
62 6 11
includes()
S
47 4 38
is_payment_gateway_configuration_page()
S
70 6 5
maybe_init_my_payment_methods()
S
66 6 8
subscriptions_maybe_edit_renewal_support_status()
S
59 5 13
tokenization_enabled()
S
67 5 8
get_gateway()
S
63 3 11
plugin_action_links()
S
62 3 11
__construct()
S
57 2 17
add_system_status_information()
S
65 3 9
get_settings_url()
S
68 3 7
get_gateway_from_token()
S
67 3 8
maybe_init_apple_pay()
S
70 3 6
is_plugin_settings()
S
67 3 8
supports_apple_pay()
S
66 3 9
add_hooks()
S
62 2 11
get_gateways()
S
67 2 8
is_pre_orders_active()
S
71 2 6
get_gateway_class_names()
S
67 2 8
add_delayed_admin_notices()
S
65 2 10
is_subscriptions_active()
S
71 2 6
subscriptions_add_renewal_support_status_inline_style()
S
73 2 5
add_api_request_logging()
S
98 1 1
get_payment_gateway_framework_file()
S
82 1 3
get_gateway_ids()
S
76 1 4
has_gateway()
S
79 1 3
get_payment_gateway_framework_assets_path()
S
80 1 3
set_gateway()
S
79 1 3
get_payment_gateway_framework_path()
S
79 1 3
get_accepted_currencies()
S
82 1 3
get_gateway_class_name()
S
75 1 4
get_privacy_instance()
S
82 1 3
add_gateway()
S
77 1 3
get_payment_gateway_configuration_url()
S
79 1 3
requires_ssl()
S
82 1 3
get_gateway_settings()
S
80 1 3
get_gateway_settings_name()
S
80 1 3
get_admin_user_handler()
S
82 1 3
get_admin_order_handler()
S
82 1 3
supports()
S
79 1 3
supports_capture_charge()
S
80 1 3
get_apple_pay_instance()
S
82 1 3
build_apple_pay_instance()
S
79 1 3
supports_my_payment_methods()
S
80 1 3
get_my_payment_methods_instance()
S
80 1 3
load_gateways()
S
79 1 3
init_admin()
S
76 1 4
get_payment_gateway_framework_assets_url()
S
79 1 3